${h.javascript_tag(h.update_element_function("arrow1",action='empty'))}
${h.javascript_tag(h.update_element_function("arrow2",action='empty'))}
${h.javascript_tag(h.update_element_function("count",action='empty'))}
<p align="center">
<table cellpadding="4">
  <tr>
     <td>Return results from</td>
     <td>
	<select onchange="document.getElementById('adv_rs').innerHTML='';" name="range"><option value="all">anytime<option value="d">past 24 hours<option value="w">past week<option value="m">past month<option value="m2">past 2 months<option value="m3">past 3 months<option value="m6">past 6 months<option value="y">past year</select>
     </td>
   </tr>
   <tr>
     <td>Open files using</td>
     <td>
	<select name="openwith" onchange="document.getElementById('adv_rs').innerHTML='';"><option value="browser">the web browser</option>
	<option value="app">the appropriate application</option>
     </td>
   </tr>
</table>

<p align="center">
	${h.submit_to_remote('save_prefs', 'Save', url=h.url_for(action="save_prefs"),update="adv_rs")}
</p>

<p id="adv_rs" align="center"></p>

</p>


